package com.kingwang.training.designpattern.visitor.deep.step4;

/**
 * 喷火兵
 *
 * @author King
 */
public class FirebatSoldier extends AbstractSoldier implements Soldier {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    @Override
    public void move(int meters) {
        System.out.println("Firebat MOVE " + meters + " meters!");
    }

    @Override
    public void attack() {
        System.out.println("Firebat FIRE!!!");
    }

    @Override
    public void hide() {
        System.out.println("Firebat HIDE!!!");
    }
}
